﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TMSimulator
{
    //Class for the creation of a variable singelton named FP which keeps docs and FP
    public class FingerprintDB
    {
        public Dictionary<string, Dictionary<int, int>> FP;
        private static FingerprintDB instance = null;

        private FingerprintDB()
        {
            FP = new Dictionary<string, Dictionary<int, int>>();
        }

        public static FingerprintDB getInstance()
        {
            if (instance == null)
            {
                instance = new FingerprintDB();
            }
            return instance;
        }
    }
}
